package com.lglin.service.user.Impl;

import com.lglin.bean.user.entity.UserRole;
import com.lglin.dao.user.UserRoleDao;
import com.lglin.service.user.UserRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserRoleServiceImpl implements UserRoleService {
    @Autowired
    private UserRoleDao userRoleDao;

    @Override
    public List<UserRole> listByUserId(int uid) {
        return userRoleDao.listByUserId(uid);
    }
}
